package com.example.currentlimiting.service;

import com.example.currentlimiting.annotation.FlowLimit;
import com.example.currentlimiting.annotation.FlowType;
import org.springframework.stereotype.Service;

/**
 * @author JXQ
 * @date 2022/12/2
 */
@Service
public class TestService {

    public String test(){
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "请求成功";
    }
}
